package team.kas.anime.service;

import org.springframework.web.multipart.MultipartFile;
import team.kas.anime.pojo.Result;
import team.kas.anime.pojo.Video;

import javax.servlet.http.HttpServletRequest;

public interface UserInfoService {
    //获取当前用户的所有视频信息
    Result getAllVideos(Integer page,Integer limit,String userid);
    //删除视频信息
    Result del(String id);
    //删除多条视频信息
    Result delete(String[] ids);
    //上传视频
    Result upVideo(MultipartFile file, HttpServletRequest request);
    //上传图片
    Result upImg(MultipartFile file, HttpServletRequest request);
    //新增用户的视频
    Result add(Video video, HttpServletRequest request,String uId);
    //获取所有的收藏
    Result getAllColl(Integer page,Integer limit,String uid);
    //取消收藏视频
    Result delColl(String id);
    //获取所有的关注
    Result getAllFan(Integer page, Integer limit, String uid);
    //取消关注用户
    Result delFan(String id);
}
